<?php echo $html->charset(); ?>
<title><?php echo $title_for_layout; ?></title>
<?php

// meta
echo $html->meta('icon');
echo $html->meta(array('name' => 'generator', 'content' => Configure::read('Engine.name') . ' ' . Configure::read('Engine.version')));
echo $html->css(array('/admin/css/reset', '/admin/css/style', 'admin/custom'));

?>
<script type="text/javascript">
var WEBROOT_CSS_URL = '<?php echo WEBROOT_CSS_URL; ?>';
var WEBROOT_LIBS_URL = '<?php echo WEBROOT_LIBS_URL; ?>';
</script>
<?php

// swfobject
echo $html->script('swfobject.js');
// jquery
echo $html->script('jquery.min.js');
// shadowbox
echo $html->css('/shadowbox/shadowbox.css');
echo $html->script('/shadowbox/shadowbox.js');
// jquery_ready
echo $html->script('/admin/js/jquery_ready.js');

// wysiwyg
echo $html->script('/libs/tiny_mce/jquery.tinymce.js');
echo $html->script('/libs/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php?');
echo $html->script('admin/wysiwyg.js');

echo $scripts_for_layout;

?>